package entities;

import java.util.Date;

import javax.persistence.Id;

import com.googlecode.objectify.annotation.Cached;
import com.googlecode.objectify.annotation.Indexed;
import com.googlecode.objectify.annotation.Unindexed;

@Cached
public class ApiConfig {
	@Id 
	private String id = "";
	
	@Indexed 
	private String sitemap = "";	//url craw
	
	@Indexed 
	private String userApi = "";
	
	@Indexed 
	private String userBlog = "";
	
	@Indexed 
	private String blog = "";
	
	@Indexed 
	private String type = "";
	
	@Indexed 
	private String domain = "";
	
	@Unindexed 
	private String tag = "";
	
	@Unindexed 
	private String titleSelecter = "";
	
	@Unindexed 
	private String contentSelecter = "";
	
	@Unindexed 
	private String removeSelecter = "";
	
	@Unindexed
	private String linkSelecter = "";
	
	@Unindexed 
	private String customSelecter = "";
	
	@Unindexed 
	private String category = "";
	
	@Unindexed 
	private String typelink = "nofollow";
	
	@Unindexed 
	private String source = "yes";
	
	@Unindexed 
	private String sourcetype = "text";
	
	@Unindexed 
	private String source_image = "source";
	
	@Unindexed 
	private String remove_tag_a = "no";
	
	@Unindexed 
	private String activeContentJs = "no";
	
	@Indexed 
	private long created = new Date().getTime();
	
	@Indexed 
	private int active = 1;
	
	@Unindexed 
	private String getAll = "no";
	
	@Indexed
	private String typeConfig = "special"; //special, link
	

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getSitemap() {
		return sitemap;
	}

	public void setSitemap(String sitemap) {
		this.sitemap = sitemap;
	}

	public String getUserApi() {
		return userApi;
	}

	public void setUserApi(String userApi) {
		this.userApi = userApi;
	}

	public String getUserBlog() {
		return userBlog;
	}

	public void setUserBlog(String userBlog) {
		this.userBlog = userBlog;
	}

	public String getBlog() {
		return blog;
	}

	public void setBlog(String blog) {
		this.blog = blog;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getDomain() {
		return domain;
	}

	public void setDomain(String domain) {
		this.domain = domain;
	}

	public String getTag() {
		return tag;
	}

	public void setTag(String tag) {
		this.tag = tag;
	}

	public String getTitleSelecter() {
		return titleSelecter;
	}

	public void setTitleSelecter(String titleSelecter) {
		this.titleSelecter = titleSelecter;
	}

	public String getContentSelecter() {
		return contentSelecter;
	}

	public void setContentSelecter(String contentSelecter) {
		this.contentSelecter = contentSelecter;
	}

	public String getRemoveSelecter() {
		return removeSelecter;
	}

	public void setRemoveSelecter(String removeSelecter) {
		this.removeSelecter = removeSelecter;
	}

	public String getLinkSelecter() {
		return linkSelecter;
	}

	public void setLinkSelecter(String linkSelecter) {
		this.linkSelecter = linkSelecter;
	}

	public String getCustomSelecter() {
		return customSelecter;
	}

	public void setCustomSelecter(String customSelecter) {
		this.customSelecter = customSelecter;
	}

	public String getCategory() {
		return category;
	}

	public void setCategory(String category) {
		this.category = category;
	}

	public String getTypelink() {
		return typelink;
	}

	public void setTypelink(String typelink) {
		this.typelink = typelink;
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public String getSourcetype() {
		return sourcetype;
	}

	public void setSourcetype(String sourcetype) {
		this.sourcetype = sourcetype;
	}

	public String getSource_image() {
		return source_image;
	}

	public void setSource_image(String source_image) {
		this.source_image = source_image;
	}

	public String getRemove_tag_a() {
		return remove_tag_a;
	}

	public void setRemove_tag_a(String remove_tag_a) {
		this.remove_tag_a = remove_tag_a;
	}

	public String getActiveContentJs() {
		return activeContentJs;
	}

	public void setActiveContentJs(String activeContentJs) {
		this.activeContentJs = activeContentJs;
	}

	public long getCreated() {
		return created;
	}

	public void setCreated(long created) {
		this.created = created;
	}

	public int getActive() {
		return active;
	}

	public void setActive(int active) {
		this.active = active;
	}

	public String getGetAll() {
		return getAll;
	}

	public void setGetAll(String getAll) {
		this.getAll = getAll;
	}

	public String getTypeConfig() {
		return typeConfig;
	}

	public void setTypeConfig(String typeConfig) {
		this.typeConfig = typeConfig;
	}	
}
